﻿using System.Collections.Generic;
using Volo.Abp.Settings;
using Xms.Abp.Data;
using Xms.Abp.Settings;

namespace Xms.Abp.Messaging.Smsing;

public abstract class SupplierSmsSettings : SettingsBase
{
    public virtual string SecretId => GetValue();

    [SettingValue(valueType: DataType.MultilineText)]
    public virtual string SecretKey => GetValue();

    public virtual string Sign => GetValue();

    public virtual bool IsEnabled => GetValue<bool>();

    public virtual Dictionary<string, string> SmsCodes => GetDictionary();
}
